import http from "@/utils/http"
//商品列表 ...data剩余参数 query参数
export const reqGoodsList =({page,limit,...data})=>{
  return http.get(`/goods/list/${page}/${limit}`, data)
}
//商品详情
export const reqGoodsInfo =(goodsId)=>{
  return http.get(`/goods/${goodsId}`)
}